package main

import (
	"bytes"
	"fmt"
	"io"
	"os"
)

func main() {
	var b bytes.Buffer

	b.Write([]byte("Hello"))

	l, err := fmt.Fprintf(&b, "World!")
	fmt.Println(l, err)

	l2, err := io.Copy(os.Stdout, &b)
	fmt.Println(l2, err)
}
